class Solution
{
public:
    long long maximumSumOfHeights(vector<int> &maxHeights)
    {
    }
};